# HistoryDataSource
hub = trdata.DHub(password='Abcthm3b10', host='quant.tuling.me')
quant = Quant.TrQuant(class_name=strategy, name='Test2')
datasource = hub.HistoryDataSource(context=hub, market=quant.market, type=quant.type, code=quant.code, begin_time='20140101', end_time='20161110')
quant.set_datasource(datasource)
quant.start()
show_draw_result(quant.result_df, quant.name)